﻿@using PropOnline.ViewModels.Propiedad;
@model IEnumerable<AvisoHistoriaViewModel>       
              
<dl>
    <dt>Total Avisos:</dt>
    <dd>@Model.Count()</dd>
</dl>
<div class="clear-both"></div>
<table class="avisos">
    <thead>
        <tr>
            <th>Fecha</th>
            <th>Precio</th>
            <th>Inmobiliaria</th>
            <th>Tel&eacute;fono</th>
        </tr>
    </thead>
    <tbody>
    @foreach (AvisoHistoriaViewModel aviso in Model)
    {
        <tr title="@aviso.Texto">
            <td>@aviso.FechaString</td>
            <td>@aviso.PrecioString</td>
            <td>@aviso.Inmobiliaria</td>
            <td>@aviso.TelefonoString</td>            
        </tr>
    }
    </tbody>
</table>

